package org.xhy.retryer.predicate;


import java.util.function.Predicate;

/**
 * @description:
 * @gitee: https://gitee.com/XhyQAQ
 * @copyright: B站: https://space.bilibili.com/152686439
 * @Author: Xhy
 * @CreateTime: 2024-04-29 22:02
 */
public interface IPredicate<T> extends Predicate<T> {

    boolean apply(T input);

    @Override
    default boolean test(T t){
        return this.apply(t);
    }
}
